package com.eriloan.easyPage.beans;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 
 * <p>Copyright: All Rights Reserved</p>  
 * <p>Company: 北京荣之联科技股份有限公司   http://www.ronglian.com</p> 
 * <p>Description:  路由信息实体</p> 
 * <p>Author:Eric Shi/史丙利</p>
 */
public class RouteInfo implements Serializable{

	private static final long serialVersionUID = 6979701766837304098L;

	private String route;
	private int routeLength;
	private String clazz;
	private String method;
	private String callMethod;
	private Object[] objs;
	private List<Map<String,String>> params;

	public String getRoute(){
		return route;
	}

	public void setRoute(String route){
		this.route = route;
	}

	public int getRouteLength(){
		return routeLength;
	}

	public void setRouteLength(int routeLength){
		this.routeLength = routeLength;
	}

	public String getClazz(){
		return clazz;
	}

	public void setClazz(String clazz){
		this.clazz = clazz;
	}

	public String getMethod(){
		return method;
	}

	public void setMethod(String method){
		this.method = method;
	}

	public String getCallMethod(){
		return callMethod;
	}

	public void setCallMethod(String callMethod){
		this.callMethod = callMethod;
	}

	public List<Map<String,String>> getParams(){
		return params;
	}

	public void setParams(List<Map<String,String>> params){
		this.params = params;
	}

	public Object[] getObjs(){
		return objs;
	}

	public void setObjs(Object[] objs){
		this.objs = objs;
	}

	@Override
	public String toString(){
		com.google.gson.Gson json = new com.google.gson.Gson();

		return json.toJson(this).toString();
	}
}
